package merchant.service;

import java.util.List;
import java.util.Map;

import merchant.dao.ChargeDAO;
import merchant.dao.RecordOfCharge;
import hackathon1212.ServletPojoAdapter;

public class ShowRocs extends ServletPojoAdapter {
	private static final long serialVersionUID = 6613291298786026531L;

	protected List<RecordOfCharge> getBusinessMethod(Map<String, String[]> params){
		final long socId = Long.parseLong(params.get("socId")[0]);
		return ChargeDAO.get().getROCBySOCId(socId);
	}
	
}
